package lab01;

/**
 * Created by leovo on 2017/10/16.
 */
public class 第十一题 {

    public static void main(String[] args) {
        int i;
        int j;
        int count = -1;
        for (i = 2; i <= 100; i++) {
            j = 2;
            while (i % j != 0) {
                j++;
            }
            if (j == i) {
                count ++;
                if(count%5==0){
                    System.out.println("");
                }
                System.out.print(i + "    ");

            }
        }
    }
}



